package com.yy.myp.entity;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

public class PointCard extends Point {

    private Bitmap bitmap;

    public void setBitmap(Bitmap bitmap) {
        this.bitmap = bitmap;
    }

    public void setBitmap(byte[] bytes) {
        if (null != bytes && bytes.length > 0) {
            this.bitmap = BitmapFactory.decodeByteArray(bytes, 0, bytes.length);
        }
    }

    public Bitmap getBitmap () {
        return this.bitmap;
    }

    public PointCard(double latitude, double longitude) {
        super(latitude, longitude);
    }

    public PointCard(String posName, double latitude, double longitude) {
        super(posName, latitude, longitude);
    }
}
